#app {
  // 主体区域
  background: #F9FAFC;
  .main-container {
    min-height: 98%;
    transition: margin-left .28s;
    //margin:0 15px;
    position: relative;
  }
  .nav-s{overflow-y:auto;overflow-x:hidden;color:#fff;border-radius:0 4px 4px 0;position: relative;padding:0px 5px;width: 210px}
  .nav-s > div > p{color:#000;padding:20px}
  .nav-s .el-menu-item{color: #fff;border-radius: 6px}
  .nav-s .el-menu-item:hover{color:$elm_theme-color;background: none}
  .nav-s .el-menu-item.is-active{background:$elm_theme-color}
  .nav-s .el-menu-item.is-active:hover{color: #fff !important}
  // 侧边栏
  .sidebar-container {
    transition: width 0.28s;
    height: calc(100% - 50px);
    position: fixed;
    display: flex;
    width: 0;
    top: 50px;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    padding-bottom: 36px;
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .scrollbar-wrapper {
      overflow-x: hidden!important;
      .el-scrollbar__view {
        height: 100%;
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 16px;
    }
    .el-menu {
      border: none;
      background: none;
      height: 100%;

    }
  }
  .noSecondNav .hideSidebar .main-container {
    margin-left: 60px;
  }
  .noSecondNav .sidebar-container > i{display: none}
  .hideSidebar {
    .sidebar-container{width:79px}
    .nav-f {
      width: 60px !important;
      dt{width:20px}
      dd{margin-left:-10px;width:40px}
      // dd:last-child{width:60px;margin:0}
      // dd:last-child i{transform:scale(1)}
    }

    .nav-s {
      display: none;
    }

    .main-container {
      margin-left: 60px;
    }

    .submenu-title-noDropdown {
      padding-left: 10px !important;
      position: relative;
      .el-tooltip {
        padding: 0 10px !important;
      }
    }
    .el-submenu {
      overflow: hidden;
      &>.el-submenu__title {
        padding-left: 10px !important;
      }
    }
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }

  .showSecondBar{
    .sidebar-container{width:210px}
    .nav-s{display: block}
    .main-container {
      margin-left: 210px;
    }
    .sidebar-container > i{position: absolute;top: 50%; width: 18px;height: 54px; transition: all .3s;cursor: pointer;background: url("../assets/img/icon/close.png") center center/contain no-repeat;display:inline-block;margin-top: -27px;right: 0}
  }

  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: 140px !important;
    color: #fff;
    &:hover {
     color: $elm_theme-color;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 140px !important;
  }

  //适配移动端
  .mobile {

  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}

.openSecond{
  position: absolute;top: 50%; width: 18px;height: 54px; transition: all .3s;cursor: pointer;
  background: url("../assets/img/icon/open.png") center center/contain no-repeat;display:inline-block;
  margin-top: -17px;left: 0px;z-index: 10000
}

.sidebar-container ::-webkit-scrollbar-track
{
   background-color: #2e323f;
}
/*定义滚动条高宽及背景*/
.sidebar-container ::-webkit-scrollbar
{
   width: 6px;
}
/*定义滚动条*/
.sidebar-container ::-webkit-scrollbar-thumb
{
  background-color:rgba(155,155,155, .6);
  border-radius: 10px;
}